package com.yunxun.service;

import com.yunxun.entity.ArticleEntity;
import com.yunxun.mapper.ArticleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ArticleService {
    @Autowired
    private ArticleMapper articleMapper;
    public ArticleEntity selectByMid(ArticleEntity articleEntity){
        ArticleEntity article = articleMapper.selectOne(articleEntity);
        return article;
    }
}
